package com.strive.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description:
 * @author: bingcun.chen
 * @Date: 2022/2/25 14:33
 * @Version 1.0
 */
@Controller
public class LoginController {
    @RequestMapping("/main")
    public String main(){
        return "redirect:/main.html";
    }

    @RequestMapping("/err")
    public String error(){
        return "redirect:/err.html";
    }
}
